SpriteSurface.PaintTile Method

Forces the background tile specified by x,y to be repainted, triggering the PaintTile event. If you need to change part of the background during a game, this is the best way to force the background to update.

Syntax

SpriteSurface.PaintTile X, Y


Parameters

X

Integer

Y

Integer


(Note that the update will not actually appear on the screen until the next frame.)